package cn.infinite.security.core;

import org.springframework.security.core.AuthenticationException;
import org.springframework.security.core.userdetails.UserDetails;

public interface WxAuthenticateAble {

    /**
     * 根据微信code获取用户信息
     *
     * @param code
     * @return
     */
    UserDetails authenticateByWxCode(String code) throws AuthenticationException;

}
